Packetery\Module\Plugin A

Total Complexity 57
Dependencies 44
Dependents 5
Total lines 758
Lines of code 331
Logical lines of code 189
Comment lines 117
Methods 23
Properties 25

Methods 23

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
A
51 12 22
run()
S
39 3 70
activate()
S
48 4 35
renderOrderDetail()
S
57 4 18
render_email_footer()
S
56 4 18
uninstall()
S
56 4 17
hideSubmenuItem()
S
63 4 10
renderDeliveryDetail()
S
58 2 16
echoInactiveWooCommerceNotice()
S
61 2 14
__construct()
S
51 1 27
loadTranslation()
S
63 2 10
getLocale()
S
69 2 7
enqueueFrontAssets()
S
70 2 6
transformGetOrdersQuery()
S
70 2 6
add_menu_pages()
S
70 1 7
buildAssetUrl()
S
70 1 5
enqueueStyle()
S
67 1 8
init()
S
67 1 9
enqueueScript()
S
66 1 9
addPluginActionLinks()
S
66 1 7
add_shipping_method()
S
76 1 4
isWooCommercePluginActive()
S
77 1 3
getAppIdentity()
S
77 1 3